package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.po.CommodityInfoCommon;
import com.huilian.iotbox.data.vo.CommodityInfoCommonVo;

import java.util.List;
import java.util.Set;

/**
 * @author 谢洛涛
 * @date 2023/9/7 20:27
 */
public interface CommodityInfoCommonDao {
    List<CommodityInfoCommonVo> findCommodityInfCommon(CommodityInfoCommon commodityInfoCommon);

    Set<String> fetchAllBarcodes();

    void updateFileNameByBarcode(String barcode, String newFileName);

    CommodityInfoCommonVo findOneCommodityInfoCommon(CommodityInfoCommon commodityInfoCommon);
}
